<?php echo isset($errors) ? $errors : ''; ?>
<?php echo form_open_multipart(url('admin/news/add')); ?>
<dl>
    <dt><?php echo __('admin_aboutus_title'); ?><span style="color: red">*</span>: </dt>
    <dd>
        <?php echo form_input(array('name' => 'title', 'value' => set_value('title'), 'max-length' => 300)); ?>
    </dd>

    <dt><?php echo __('admin_aboutus_description'); ?><span style="color: red">*</span>: </dt>
    <dd style="width: 610px;float:left;">
        <?php echo form_textarea(array('name' => 'description', 'value' => isset($_POST['description']) ? $_POST['description'] : NULL)); ?>
        <script type="text/javascript">
            
        CKEDITOR.replace( 'description', {
                    
            filebrowserImageBrowseUrl : '<?php echo site_url('assets/ckeditor/filemanager/browser/default/browser.html?Type=Image&Connector='.site_url('assets/ckeditor/filemanager/connectors/php/connector.php'));?>',
            filebrowserFlashBrowseUrl : '<?php echo site_url('assets/ckeditor/filemanager/browser/default/browser.html?Type=Flash&Connector='.site_url('assets/ckeditor/filemanager/connectors/php/connector.php'));?>'
                
            }); 

        </script>
    </dd>
    <div style="clear: both;"></div>
    <dt><?php echo __('admin_aboutus_meta_title'); ?>: </dt>
    <dd>
        <?php echo form_input(array('name' => 'meta_title', 'value' => isset($_POST['meta_title']) ? $_POST['meta_title'] : '', 'max-length' => 200)); ?>
    </dd>

    <dt><?php echo __('admin_aboutus_meta_keyword'); ?>: </dt>
    <dd>
        <?php echo form_textarea(array('name' => 'meta_keyword', 'value' => isset($_POST['meta_keyword']) ? $_POST['meta_keyword'] : NULL, 'max-length' => 400)); ?>
    </dd>
    
    <dt><?php echo __('admin_aboutus_meta_description'); ?>: </dt>
    <dd>
        <?php echo form_textarea(array('name' => 'meta_description', 'value' => isset($_POST['meta_description']) ? $_POST['meta_description'] : NULL, 'max-length' => 400)); ?>
    </dd>
</dl>

<?php
echo form_submit('btnSubmit', __('submit'));
echo '&nbsp;';
?>
<input type="button" value="Reset" onClick="this.form.reset()" />
<?php echo form_close(); ?>
